﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _12_Reflection
{
    internal class Item
    {
        [Show(true,Tag = "12321")]
        public int Id { get; set; }
        [Show(false)]
        public string Name { get; set; }
        [Show(true)]
        public string Description { get; set; }
        public int a { get; set; }
        public int b { get; set; }
        public Item(int id,string name,string description)
        {
            Id = id;
            Name = name;
            Description = description;
        }

        public void Test()
        {
            Console.WriteLine(Description);
        }
    }
}
